package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {
    void saveRelations(
            @Param("materIds") ArrayList<Integer> materIds,
            @Param("id") Integer id,
            @Param("refType") Short refType);
}
